class Animal(object):
    def eat(self,food):
        print(f"正在{food}")

    def play(self):
        print("正在玩耍")

    def sleep(self):
        print("正在睡觉")

dog = Animal()
dog.eat("狗粮")
dog.play()
dog.sleep()